/*
 * ========THE SOLMIX PROJECT=====================================
 *
 * This is free software; you can redistribute it and/or modify it
 * under the terms of the GNU Lesser General Public License as
 * published by the Free Software Foundation; either version 2.1 of
 * the License, or (at your option) any later version.
 *
 * This software is distributed in the hope that it will be useful,
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
 * Lesser General Public License for more details.
 *
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 * http://www.gnu.org/licenses/ 
 * or see the FSF site: http://www.fsf.org. 
 */
package org.solmix.fmk.config.impl;

import org.solmix.fmk.config.AbstractCMModule;

/**
 * @org.apache.xbean.XBean element="module"
 */
public class Module
{
    
    private String name;
    private String flags;
    private String cmid;
    private String persistentId;
    private AbstractCMModule cm;
    
   
    /**
     * @return the persistentId
     */
    public String getPersistentId() {
        return persistentId;
    }

    
    /**
     * @param persistentId the persistentId to set
     */
    public void setPersistentId(String persistentId) {
        this.persistentId = persistentId;
    }

/**
    * @return the cmid
    */
   public String getCmid()
   {
      return cmid;
   }

   /**
    * @return the cm
    */
   public AbstractCMModule getCm()
   {
      return cm;
   }

   /**
    * @param cm
    *           the cm to set
    */
   public void setCm(AbstractCMModule cm)
   {
      this.cm = cm;
   }

   /**
    * @param cmid
    *           the cmid to set
    */
   public void setCmid(String cmid)
   {
      this.cmid = cmid;
   }
   /**
    * @return the name
    */
   public String getName()
   {
      return name;
   }
   /**
    * @param name the name to set
    */
   public void setName(String name)
   {
      this.name = name;
   }
   /**
    * @return the flags
    */
   public String getFlags()
   {
      return flags;
   }
   /**
    * @param flags the flags to set
    */
   public void setFlags(String flags)
   {
      this.flags = flags;
   }

}
